[ Languages: 中文 ]
Discover gists
## KeepAwake.ps1 | |
## Use SendKeys to toggle the Scroll Lock key | |
## | |
## This will keep the PC awake and prevent | |
## it from going to sleep. | |
## | |
## Author: Chris Pietschmann (https://build5nines.com) | |
$timerseconds = 60 * 4 ## Every 4 minutes |
#!/bin/bash | |
# author: thinkycx | |
# date: 2018-04-30 | |
# update: 2020-07-07 | |
# 20230520 fix zsh-autosuggestions clone bug | |
# usage: | |
# curl -fsSL https://gist.githubusercontent.com/thinkycx/2e21c3572a8d1fde21aad07a58fcf940/raw/ -o zsh.sh && sudo bash zsh.sh | |
# | |
# install zsh for one script | |
# support ubuntu & centos & macOS |
List of oldest supported version of top 10 Linux Distros and their glibc version according to distrowatch.com.
Out of all versions with published EOLs, 2.12 is the oldest glibc still active, found in CentOS 6.8.
If CentOS 6 and 7 are eliminated, the oldest glibc is 2.23 in Ubuntu and Slackware.
Lecture 1: Introduction to Research — [📝Lecture Notebooks] [
Lecture 2: Introduction to Python — [📝Lecture Notebooks] [
Lecture 3: Introduction to NumPy — [📝Lecture Notebooks] [
Lecture 4: Introduction to pandas — [📝Lecture Notebooks] [
Lecture 5: Plotting Data — [📝Lecture Notebooks] [[
#!/usr/bin/python3 | |
# Exploit Title: fuelCMS 1.4.1 - Remote Code Execution | |
# Date: 2019-07-19 | |
# Exploit Author: 0xd0ff9 | |
# Vendor Homepage: https://www.getfuelcms.com/ | |
# Software Link: https://github.com/daylightstudio/FUEL-CMS/releases/tag/1.4.1 | |
# Version: <= 1.4.1 | |
# Tested on: Ubuntu - Apache2 - php5 | |
# CVE : CVE-2018-16763 |
Run mdadm - this command is used to manage and monitor software RAID devices in linux.
mdadm --detail /dev/md0
or md<N>
mount -t ext4 /dev/md0 /share/MD0_DATA
Check disks
mdadm --examine /dev/sdd3
# [Mamba: Linear-Time Sequence Modeling with Selective State Spaces](https://arxiv.org/abs/2312.00752) | |
import torch | |
import torch.nn as nn | |
import torch.optim as optim | |
from torch.utils.data import DataLoader, Dataset | |
from torch.nn import functional as F | |
from einops import rearrange, repeat | |
from tqdm import tqdm |
set-option -g history-limit 65536 | |
set -g -a terminal-overrides ',*:Ss=\E[%p1%d q:Se=\E[2 q' | |
set -g mouse on | |
#bind -n C-k clear-history | |
# default shell | |
set-option -g default-shell /usr/bin/fish | |
# clipboard settings |
import React, { useEffect, useRef } from "react"; | |
import { | |
motion, | |
useInView, | |
useMotionValueEvent, | |
useScroll, | |
useTransform, | |
} from "framer-motion"; | |
export const ScrollAnimations = () => { |